| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(inout) | :: | seed |
A seed for the random number generator. |
||
| real(kind=real64), | intent(out) | :: | xy(2,node_num) |
The coordinates of the nodes of the quadrilateral given in counterclockwise order. |
Returns a random convex quadrilateral.
The quadrilateral is constrained in that the vertices must all lie with the unit square.